Active medication monitoring